<?php
	include "layout.php";
	head();
	if (isset($_SESSION["id"])) {
		header("Location: main.php");
	}
?>
<form action="login.php" method="post" style="text-align: center;" autocomplete="off">
	<h4>Login Form</h4>
	<div class="form_settings">
		<p>
			<span>First Name:</span>
			<input type="text" name="fname" placeholder="First Name" autocomplete="off" />
		</p>
		<p>
			<span>Last Name:</span>
			<input type="text" name="lname" placeholder="Last Name" autocomplete="off" />
		</p>
		<p>
			<span>Password:</span>
			<input type="password" name="password" placeholder="Password" autocomplete="off" />
		</p>
		<p style="padding-top: 15px;">
			<span>&nbsp;</span>
			<input type="submit" name="submit" class="submit" value="Login"/>
		</p>
	</div>
</form>
<?php
	foot();
?>